home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.1 (Developer) [x86] / NeXT Step 3.1 Intel dev.cdr.dmg / NextDeveloper / Examples / AppKit / Graph / ThreeDPanel.h < prev    next >
Text File  |  1992-06-21  |  794b  |  30 lines

  1.  
  2. #import <appkit/Panel.h>
  3. @class NXColorWell, Matrix, Slider, N3DCamera;
  4.  
  5. @interface ThreeDPanel : Panel {
  6.     NXColorWell *surfaceColorWell;
  7.     NXColorWell *backgroundColorWell;
  8.     Matrix *rotateSliders;
  9.     Matrix *shadingButtons;
  10.     Slider *zoomSlider;
  11.     N3DCamera *camera;
  12. }
  13.  
  14. - changeSurfaceColor:sender;
  15. - changeBackgroundColor:sender;
  16. - changeZoom:sender;
  17. - changeShading:sender;
  18. - setCamera:obj;
  19.  
  20. @end
  21.  
  22. /* messages sent to the delegate of the window of the camera we are tracking.
  23.    Since these messages are of interest to the objects managing the individual
  24.    documents, it makes more sense to send them to camera's window's delegate
  25.    instead of the delegate of the panel itself.
  26.  */
  27. @interface Object(ThreeDPanelDelegate)
  28. - threeDPanelDidChangeDoc:(ThreeDPanel *)sender;
  29. @end
  30.